<!-- Begin Main Menu -->
<div class="ewMenu">
<?php $RootMenu = new cMenu(EW_MENUBAR_ID) ?>
<?php

// Generate all menu items
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(5, $Language->MenuPhrase("5", "MenuText"), "usuarioslist.php", -1, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(13, $Language->MenuPhrase("13", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(1, $Language->MenuPhrase("1", "MenuText"), "rrhh_postulanteslist.php", 13, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(25, $Language->MenuPhrase("25", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(6, $Language->MenuPhrase("6", "MenuText"), "sucursaleslist.php", 25, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(8, $Language->MenuPhrase("8", "MenuText"), "cargoslist.php", 25, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(43, $Language->MenuPhrase("43", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(26, $Language->MenuPhrase("26", "MenuText"), "rrhh_turnoslist.php", 43, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(28, $Language->MenuPhrase("28", "MenuText"), "rrhh_feriadoslist.php", 43, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(3, $Language->MenuPhrase("3", "MenuText"), "rrhh_provincialist.php", 43, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(49, $Language->MenuPhrase("49", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(45, $Language->MenuPhrase("45", "MenuText"), "rrhh_tipo_licencialist.php", 49, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(44, $Language->MenuPhrase("44", "MenuText"), "rrhh_licenciaslist.php", 49, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(53, $Language->MenuPhrase("53", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(56, $Language->MenuPhrase("56", "MenuText"), "rrhh_rango_vacacioneslist.php", 53, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(54, $Language->MenuPhrase("54", "MenuText"), "rrhh_vacacioneslist.php", 53, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(-1, $Language->Phrase("Logout"), "logout.php", -1, "", IsLoggedIn());
$RootMenu->AddMenuItem(-1, $Language->Phrase("Login"), "login.php", -1, "", !IsLoggedIn() && substr(@$_SERVER["URL"], -1 * strlen("login.php")) <> "login.php");
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->
